//
//  SecondBrandCarCell.m
//  AutoHome
//
//  Created by wqh on 15-5-11.
//  Copyright (c) 2015年 Wqh. All rights reserved.
//

#import "SecondBrandCarCell.h"

@implementation SecondBrandCarCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)showDataWithModel:(BrandCarModel *)model {
    self.nameLabel.text = model.name;
    [self.img sd_setImageWithURL:[NSURL URLWithString:model.imgurl] placeholderImage:[UIImage imageNamed:@"default_80_60"]];
    self.priceLabel.text = model.price  ;
}

@end
